package com.android.example.SimpleAppWidget;

import android.appwidget.AppWidgetManager;
import android.appwidget.AppWidgetProvider;
import android.content.Context;
import android.widget.RemoteViews;

public class SimpleAppWidget extends AppWidgetProvider {
	
	@Override
	public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) {
	    RemoteViews view = new RemoteViews(context.getPackageName(), R.layout.main);
	    appWidgetManager.updateAppWidget(appWidgetIds, view);
	}

}
